package com.bawei.mall.search.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author：HaoYunde
 * @Package：com.bawei.mall.search.domain
 * @Project：mall_cloud
 * @name：HotWord
 * @Date：2024/6/25 17:25
 */
@Data
public class HotWord {
    private Integer id;
    private String keyWord;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date time;
    private Integer count;
}
